package com.sailing.xjpb.ipaas.client.entity.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 用户登录
 *
 * @author luozy
 * Created time 2021/3/22
 */
@NoArgsConstructor
@Data
public class UserLogInDTO {

    @JsonProperty("data")
    private List<OnlineUserDTO> data;
    @JsonProperty("message")
    private String message;
    @JsonProperty("pageNum")
    private Long pageNum;
    @JsonProperty("pageSize")
    private Long pageSize;
    @JsonProperty("status")
    private String status;
    @JsonProperty("total")
    private Long total;

    @NoArgsConstructor
    @Data
    public static class OnlineUserDTO {
        @JsonProperty("userLoginTypeValue")
        private String userLoginTypeValue;
        @JsonProperty("fullOrgName")
        private String fullOrgName;
        @JsonProperty("loginTime")
        private String loginTime;
        @JsonProperty("gender")
        private String gender;
        @JsonProperty("identityNumber")
        private String identityNumber;
        @JsonProperty("loginIp")
        private String loginIp;
        @JsonProperty("name")
        private String name;
        @JsonProperty("userName")
        private String userName;
        @JsonProperty("userLoginType")
        private String userLoginType;
        @JsonProperty("userCode")
        private String userCode;
    }

}
